package usbcali.edu.persistencia.control;

import usbcali.edu.persistencia.SubArea;
import usbcali.edu.persistencia.SubAreaId;

import java.math.BigDecimal;

import java.util.*;
import java.util.Date;
import java.util.List;
import java.util.Set;


/**
 * interface SubAreaLogic
 * @author Zathura Code Generator http://code.google.com/p/zathura
 *
 */
public interface ISubAreaLogic {
    public List<SubArea> getSubArea() throws Exception;

    public void saveSubArea(String codSubarea, String codSecciones,
        String codDepat, String codEntidad, String subNombre) throws Exception;

    public void deleteSubArea(String codSubarea, String codSecciones,
        String codDepat, String codEntidad) throws Exception;

    public void updateSubArea(String codSubarea, String codSecciones,
        String codDepat, String codEntidad, String subNombre) throws Exception;

    public SubArea getSubArea(SubAreaId id) throws Exception;

    public List<SubArea> findByCriteria(Object[] variables,
        Object[] variablesBetween, Object[] variablesBetweenDates)
        throws Exception;

    public List<SubArea> findPageSubArea(String sortColumnName,
        boolean sortAscending, int startRow, int maxResults)
        throws Exception;

    public Long findTotalNumberSubArea() throws Exception;
}
